package cn.edu.imau.zy.examination.domain;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import cn.edu.imau.zy.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;
import cn.edu.imau.zy.common.core.domain.BaseEntity;

/**
 * 题库对象 el_repo
 * 
 * @author xsc
 * @date 2021-05-07
 */

@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("el_repo")
public class ElRepo implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 题库ID */
    private String id;

    /** 题库编号 */
    @Excel(name = "题库编号")
    private String code;

    /** 题库名称 */
    @Excel(name = "题库名称")
    private String title;

    /** 单选数量 */
    @Excel(name = "单选数量")
    private Long radioCount;

    /** 多选数量 */
    @Excel(name = "多选数量")
    private Long multiCount;

    /** 判断数量 */
    @Excel(name = "判断数量")
    private Long judgeCount;

    /** 判断数量 */
    @Excel(name = "题库备注")
    private String remark;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();

}
